package models.services;

import java.util.List;

import models.services.exc.EntityNotFoundException;

public interface ICatalog<T> {

	public boolean borrar(T entity);

	public int guardarActualizar(T entity);

	T obtener(int id) throws EntityNotFoundException;

	List<T> buscarPorString(String campo, String valor);

	List<T> buscarPorNumero(String campo, int valor);
}
